package cn.tedu.management.community.service;


import cn.tedu.management.community.pojo.dto.CommunityParam;
import cn.tedu.management.community.pojo.dto.CommunityQuery;
import cn.tedu.management.community.pojo.vo.CommunityVO;

import java.util.List;

public interface CommunityService {
    List<CommunityVO> select(CommunityQuery communityQuery);

    CommunityVO selectById(Long id);

    void addCommunity(CommunityParam communityParam);

    void delete(Long id);

    void update(CommunityParam communityParam);
}
